<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<script>
		person={
			name:'jack',
			ahe:20,
			addr:{
				homeAddr:'太原迎泽区',
				workAddr:'太原小店'
			}
		};
		alert(person.name);
		alert(person["age"]);
		students=[
		{name:'A',age:'21'},
		{name:'B',age:'23'}
		];
		alert(students[1].age)
	</script>
	<body>
		<h1>JSON对象创建</h1>
	</body>
</html>
